package com.sunday.pinxinghui.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by 刘涛 on 2017/8/18.
 */

public class CartItem implements Serializable{


    /**
     * carId : 1
     * memberId : 1
     * productId : 7
     * productName : 菠萝梨
     * productImage : http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/c2ee80252ba6f5ba4b49366be1f035a47b958401
     * num : 1
     * price : 28.8
     * costPrice : 28.8
     * totalFee : 28.8
     * normalId : null
     * normal :
     * store : 88
     */

    private long carId;
    private long memberId;
    private long productId;
    private String productName;
    private String productImage;
    private int num;
    private BigDecimal price;
    private BigDecimal costPrice;
    private BigDecimal totalFee;
    private Integer normalId;
    private String normal;
    private int store;

    private boolean isSelect;

    private int type;



    public long getCarId() {
        return carId;
    }

    public void setCarId(long carId) {
        this.carId = carId;
    }

    public long getMemberId() {
        return memberId;
    }

    public void setMemberId(long memberId) {
        this.memberId = memberId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }


    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }

    public String getNormal() {
        return normal;
    }

    public void setNormal(String normal) {
        this.normal = normal;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public Integer getNormalId() {
        return normalId;
    }

    public void setNormalId(Integer normalId) {
        this.normalId = normalId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
